package com.state.demo2.impl;

import com.state.demo2.State;
import com.state.demo2.Work;

public class RestState implements State {

	@Override
	public void writeProgram(Work w) {
		System.out.println("当前时间：" + w.getHour() + "，下班了");
	}

}
